﻿namespace Dcms.IDAL
{
    using Dcms.Model;
    using System;
    using System.Collections.Generic;
    using System.Data;

    public interface IDcms_ProductsDAL
    {
        Dcms_ProductsModel AddModel(Dcms_ProductsModel model);
        bool CopyProducts(int SourceCateID, int DestCateID);
        bool DeleteAllCheck(string AllID);
        void DeleteModelByID(int ID);
        string GetDataCount(string SqlStr);
        IList<Dcms_ProductsModel> GetDataListByPage(string SqlStr, int CurPage, int PageSize);
        Dcms_ProductsModel GetModelByID(int ID);
        DataSet GetModelList();
        Dcms_ProductsModel GetNewModelByCatID(int CatID);
        bool MoveProducts(int SourceCateID, int DestCateID);
        Dcms_ProductsModel Update(Dcms_ProductsModel model);
        void UpDateCount(int ID);
        bool UpdateState(string AllID, int StateValue);
    }
}

